<?php

namespace app\admin\model\store;

use app\admin\model\users\Users;
use think\Model;


class StoreAssess extends Model
{

    

    

    // 表名
    protected $name = 'store_assess';
	
	// 自动写入时间戳字段
	protected $autoWriteTimestamp = 'integer';
	
	// 定义时间戳字段名
	protected $createTime = 'createtime';
	protected $updateTime = false;
	protected $deleteTime = 'deletetime';

    // 追加属性
    protected $append = [

    ];
	
	
	function users()
	{
		return $this->belongsTo(Users::class,'users_id');
	}
	
	function store()
	{
		return $this->belongsTo(Store::class,'store_id');
	}
    







}
